<div class="dialog-container mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog password-dialog">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="'password.title_'+dialog.mode | translate"></div>
        <div class="kmi-side-btn right" ng-click="dialog.back();">
            <img src="image/icons/clear.png"></img>
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="kmi-layout-page">
            <div class="kmi-text-fields confirm" ng-show="dialog.mode == 'confirm' || dialog.mode == 'AreaLeader'">
                <label class="label" ng-bind="'password.account_'+dialog.mode | translate"></label>
                <input class="value" ng-model="dialog.account"></input>
            </div>
            <div class="kmi-text-fields confirm" ng-show="dialog.mode == 'confirm' || dialog.mode == 'AreaLeader'">
                <label class="label" ng-bind="'password.password' | translate"></label>
                <input class="value" id="password" ng-model="dialog.password" type="password"></input>
                <div class="tip search" ng-click="dialog.showPassword('password');">
                    <img src="image/icons/turnon.png" ng-show="dialog.password_show"></img>
                    <img src="image/icons/turnoff.png" ng-show="!dialog.password_show"></img>
                </div>
            </div>
            <div class="kmi-text-fields confirm" ng-show="dialog.mode == 'stampingspeed'">
                <label class="label" ng-bind="'password.dissolver' | translate"></label>
                <input class="value" ng-model="dialog.account"></input>
            </div>
            <div class="kmi-text-fields confirm" ng-show="dialog.mode == 'stampingspeed'">
                <label class="label" ng-bind="'password.password' | translate"></label>
                <input class="value" id="password" ng-model="dialog.password" type="password"></input>
                <div class="tip search" ng-click="dialog.showPassword('password');">
                    <img src="image/icons/turnon.png" ng-show="dialog.password_show"></img>
                    <img src="image/icons/turnoff.png" ng-show="!dialog.password_show"></img>
                </div>
            </div>
            <div class="kmi-text-fields change" ng-show="dialog.mode == 'stampingspeed'">
                <label class="label" ng-bind="'password.remarks' | translate"></label>
                <textarea ng-model="dialog.description"></textarea>
                <!--<input class="value" ng-model="dialog.description" ></input>-->               
            </div>
            <div class="kmi-text-fields change" ng-show="dialog.mode == 'change'">
                <label class="label" ng-bind="'password.account_'+dialog.mode | translate"></label>
                <label class="value" ng-bind="dialog.account"></label>
            </div>
            <div class="kmi-text-fields change" ng-show="dialog.mode == 'change'">
                <label class="label" ng-bind="'password.password_change' | translate"></label>
                <input class="value" id="old_password" ng-model="dialog.password" type="password"></input>
                <div class="tip search" ng-click="dialog.showPassword('old_password');">
                    <i class="material-icons" ng-class="{'red':dialog.old_password_show}">remove_red_eye</i>
                </div>
            </div>
            <div class="kmi-text-fields change" ng-show="dialog.mode == 'change'">
                <label class="label" ng-bind="'password.new_password' | translate"></label>
                <input class="value" id="new_password" ng-model="dialog.new_password" type="password"></input>
                <div class="tip search" ng-click="dialog.showPassword('new_password');">
                    <i class="material-icons" ng-class="{'red':dialog.new_password_show}">remove_red_eye</i>
                </div>
            </div>
            <div class="kmi-text-fields change" ng-show="dialog.mode == 'change'">
                <label class="label" ng-bind="'password.confirm_password' | translate"></label>
                <input class="value" id="confirm_password" ng-model="dialog.confirm_password" type="password"></input>
                <div class="tip search" ng-click="dialog.showPassword('confirm_password');">
                    <i class="material-icons" ng-class="{'red':dialog.confirm_password_show}">remove_red_eye</i>
                </div>
            </div>
            <div class="btn-content" style="padding-bottom: 8px;">
                <div class="kmi-button kmi-button-confrim"  ng-click="dialog.confirm()" style="width:100px">
                    <label ng-bind="'common.btn.confirm' | translate"></label>
                    <div class="kmi-can-click"></div>
                </div>
            </div>
        </div>
    </div>
</div>
